home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 16 / AMIGAplus Sonderheft 16 (1998)(ICP)(DE)[!].iso / pd / anwendungen / ispell-3.1.18bin / interfaces / guispell-1.1 / usenet_posts < prev   
Text File  |  1995-09-21  |  12KB  |  265 lines

  1. Newsgroups: comp.sys.amiga.applications
  2. Path: sunb10.cs.uiuc.edu!hew2.cs.uiuc.edu!rittle
  3. From: rittle@hew2.cs.uiuc.edu (Loren Rittle)
  4. Subject: Does a spelling checker have to be included in an Amiga WP?
  5. Message-ID: <1992Mar22.095620.1794@sunb10.cs.uiuc.edu>
  6. Sender: news@sunb10.cs.uiuc.edu
  7. Reply-To: l-rittle@uiuc.edu (Loren J. Rittle)
  8. Organization: University of Illinois at Urbana-Champaign
  9. References: <1992Mar13.034854.26865@marlin.jcu.edu.au> <j4!j3ykharp@netcom.com> <1992Mar20.091717.53877@cc.usu.edu> <1992Mar20.092541.53878@cc.usu.edu> <29575@cbmvax.commodore.com>
  10. Date: Sun, 22 Mar 1992 09:56:20 GMT
  11. Lines: 46
  12.  
  13. farren@cbmvax.commodore.com (Mike Farren) writes:
  14.  
  15. >slbfn@cc.usu.edu writes:
  16. >>    I am writting a "Graphic" word processor for use on the ami.  It's being
  17. >>    written in total asembly.  I've been working on this for quite some time
  18. >>    now ( around two years ) and should have it done in another year or so...
  19. >>    Anyways, I wan't to know of some of the features you guys would like to
  20. >>    see on this.  Rescently, I've been sitting down looking at Word for 
  21. >>    Windows and am using this as my "base".
  22. >>
  23. >>    Some features allready developed include (but not limited to...)
  24.  
  25. >Sounds like a good thing to do, and a lot of work.  Good luck!
  26.  
  27. >The first feature that pops out as desirable to me is a spell checker.
  28. >Your posting quite effectively demonstrates this need :-) (and I mean 
  29. >that smiley - no offense intended.)
  30.  
  31. I would suggest that you don't include a spelling checker.
  32.  
  33. ``What is this guy smoking?,'' you ask!
  34.  
  35. No, I'm not on drugs.  How about using the Amiga OS the way it was
  36. meant to be used?  I don't want ten spelling checkers on my system!
  37. I want *one* spelling checker that all applications use.  One thing
  38. I hate about *the Mac way* is that each and every application has
  39. it's own spelling checker builtin!  Even the blasted structured
  40. drawing packages have their own spelling checker subsystem!  What
  41. a waste to have a different spell checker package (with dictionary)
  42. for each application.
  43.  
  44. Instead, I suggest that you include the ability to call my (or any
  45. other) spelling checker via ARexx.  I will send anyone interested
  46. in attempting this idea all the needed code.
  47.  
  48. If you feel that you must include a spelling checker, may I at least
  49. ask that you in addition provide a way to call an external spelling checker
  50. as well (this could be as simple as providing a generic enough macro key
  51. bind / macro / ARexx facility ala CyngusED, TurboText, TxEd, mg 3.4beta,
  52. Emacs, ProVector and the list grows).  Don't forget to make the install
  53. of the builtin spelling checker optional... (it would defeat one purpose
  54. of my arguement, if I was forced to load onto HD and at run time your
  55. spelling checker, even if I were using my external one... :-).
  56.  
  57. Regards,
  58. Loren
  59.  
  60. Newsgroups: comp.sys.amiga.applications
  61. Path: sunb10.cs.uiuc.edu!hew2.cs.uiuc.edu!rittle
  62. From: rittle@hew2.cs.uiuc.edu (Loren Rittle)
  63. Subject: Re: Does a spelling checker have to be included in an Amiga WP?
  64. Message-ID: <1992Mar23.103237.9253@sunb10.cs.uiuc.edu>
  65. Sender: news@sunb10.cs.uiuc.edu
  66. Organization: University of Illinois at Urbana-Champaign
  67. Date: Mon, 23 Mar 1992 10:32:37 GMT
  68. Lines: 155
  69.  
  70. soft-logik@cup.portal.com (Kevin W Davidson) writes:
  71.  
  72. >>No, I'm not on drugs.  How about using the Amiga OS the way it was
  73. >>meant to be used?  I don't want ten spelling checkers on my system!
  74.  
  75. >I only have 6 spelling dictionaries on my system. 
  76.  
  77. I only have one.  You have 5 too many in my book. :-)
  78.  
  79. >The Amiga has done so much with the IFF standard for graphics. I think
  80. >that there ought to be an IFF Spelling Dictionary format and a spell.
  81. >library. That way developers could add spell checkers cheaply and we'd
  82. >all save hard disk.
  83.  
  84. Why does there need to be a IFF standard and/or a spell.library?
  85. The ARexx interface works fine.  Although ARexx is known to have
  86. some throughput problem according to others, I get 10,000 spell
  87. checks (including the dictionary search for replacement words /
  88. and all the overhead of ARexx based data transfers) a second on
  89. my machine with an ARexx script talking to my ISpell (running in
  90. ARexx Server Mode) program.  Currently developers *can* include
  91. spell checkers cheaply and we *all* can save hard disk space.
  92. Also of note, currently an application with a good ARexx interface
  93. and a user with ISpell and some ARexx knowledge can do the same
  94. thing!  As I said before, I have added spell check services to
  95. CedPro (even spell check as you type!) and ProVector.  Others have
  96. done support for Txed, mg, TurboText, and ProWrite (because ISpell
  97. is faster than the builtin spelling checker, so I heard from the person
  98. who did the macros :-).  SoftLogik could add direct support for the ISpell
  99. defacto standard `Spell Checker ARexx Interface' in about one programmer
  100. day.
  101.  
  102. I just sent the following to a few people, and as it is of general
  103. interest, I will also post it here.  Here is the
  104. `Spell Checker ARexx Interface':
  105.  
  106. Hello Tirso,
  107.  
  108. The only standard that I know of is the defacto standard that
  109. I implemented in ISpell (for it's ARexx Server Mode).  I say
  110. defacto standard as my ARexx Server Mode version of ISpell (a
  111. UNIX port done by people before me) is the only spelling checker
  112. with an ARexx port that I know of.  I would be happy to hear of
  113. other spelling checkers available for the Amiga with an ARexx port.
  114. I would be more than happy to talk with authors of other spelling
  115. checkers about this issue.  I want all spelling checkers to at
  116. least use the same base ARexx commands!  Base support would be the
  117. following 4 ARexx commands:
  118.  
  119. add, check, quickcheck, lookup
  120.  
  121. quickadd and filecheck (in it's current form) haven't proved all that
  122. useful over the past two years while in the ISpell ARexx Server.
  123.  
  124. version and exit aren't strictly needed, but should be easy to implement so
  125. why not?
  126.  
  127. > R(0);T(00.200) > "options results; address 'IRexxSpell' version; say result
  128. > ISpell Version 3.1ljr with ARexx Server Mode, Thu Dec 27 04:16:35 1990
  129. >  add quickadd check quickcheck lookup filecheck version exit
  130.  
  131. [if you don't use ARexx / WShell forgive the above.  It is basically an
  132. inline ARexx program that I quickly typed at a WShell prompt. :-]
  133.  
  134. Note the ARexx port name is IRexxSpell in this case - other spell checkers
  135. should use a different port name (and applications should allow a user to
  136. set the name of the ARexx port to access, IMHO).
  137.  
  138. OK, from the above we see 8 commands that operate as follows:
  139.  
  140. add       - add a new word to the current personal (if it exists,
  141.         main otherwise) dictionary.  AND flush dictionary changes
  142.         to disk.
  143.             Usage: add <word>
  144.         Returns: "ok"  [not useful currently]
  145.         [some sort of other error text could be returned
  146.         "disk error", "out of memory", etc]
  147.  
  148. quickadd  - add a new word to dictionary as above, except dictionary
  149.         may not be flushed to disk.  All changes (even if made via
  150.         this quickadd command) will flushed when an add
  151.         is done.  This command is useful if many words are added to
  152.         the dictionary at once.  Some spelling checker may just alias
  153.         this command to add.
  154.         Usage: quickadd <word>
  155.         Returns: "ok" [not useful currently]
  156.  
  157. check     - check if a word is found in the dictionary.
  158.         Usage: check <word>
  159.         Returns:  on exact match: "*"
  160.               on exact macth of root word plus listed ending:
  161.                       "+ <rootword>"
  162.               on no match, but close words found:
  163.                       "& <list of words that are close>"
  164.               on no match and no close words found: "#"
  165.         [this may seem strange, but I just mapped ISpell stdio output
  166.          to ARexx.  It is quite easy to parse in ARexx scripts, thus
  167.          it seems to work fine.]  [NOTE: 'options results' must be enabled]
  168.  
  169. quickcheck- quickly check if a word is found in the dictionary.
  170.         Usage: quickcheck <word>
  171.         Returns: on exact match or exact match of root+ending: "ok"
  172.              on no match: "bad" ('options results' must be enabled)
  173.         [I think that rc should be set to a boolean value as well, so
  174.          that 'options results' need not be enabled but... I don't
  175.          currently set the rc (I alway return 0) so it ain't in the
  176.          spec... :-]
  177.         [I don't want to insult your ARexx knowledge, but I'll
  178.          assume that you don't know and explain: by default callers of
  179.          ARexx functions only get number value returns via a variable
  180.          called RC, to accept string returns, ARexx must be told to
  181.          return them to the caller via the 'options' command.  In
  182.          this case:  'options results'.  If string returns are enabled
  183.          then callers can check the variable RESULT for a string that
  184.          the function returned.  ARexx functions can always return
  185.          both a number value (found in RC after the function call)
  186.          AND a string value (found in RESULT), but a caller will
  187.          only see the the string result if it was asked for.]
  188.  
  189. lookup    - look in dictionary for words that match a given full
  190.         regular expression (UNIX style, but AmigaOS 2.04 would
  191.             be better.  Let's say that either could be used... :-)
  192.         Usage: lookup <reg. exp.>
  193.         Returns: "& <list of all words that matched the pattern>"
  194.  
  195. filecheck - KLUDGE that needs to be reworked.  Currently used to spell
  196.         check an entire file on disk and copy all unknown words (in
  197.         the order found in input file) to temp. T: output file.
  198.         Usage: filecheck <full name with complete path to disk file>
  199.         Returns: on error: "Error: <exact error message>"
  200.              [usually: can't open file for input or can't open
  201.               file for output, etc.]
  202.              on completion: "<temp. file>"
  203.              [application that used spell server now `owns' the
  204.               temp.  file whose name is returned and should
  205.               delete it when done with it!]
  206.  
  207. version   - you can see the output above.  full app name, compile date,
  208. and a list of ARexx commands accepted by the server.  This ouput is 
  209. spell checker dependent, but I see nothing wrong with following this
  210. style.
  211.  
  212. exit      - spell checker software should shut down server and quit.
  213.         Results: "bye" [or whatever, or nothing]
  214.  
  215. I, Loren J. Rittle, hereby give up any sort of exclusive rights (that I
  216. may of had) to the above interface which I invented (in 1989 and
  217. improved until 1990) and implemented in a noncommercial spelling
  218. checker, ISpell.  Anyone can use the above Spell Checker ARexx Interface
  219. without paying any license fees to the author, Loren J. Rittle.  It
  220. would be nice if credit were given if used in a product.
  221.  
  222. Regards,
  223. Loren J. Rittle
  224. l-rittle@uiuc.edu
  225.  
  226. Newsgroups: comp.sys.amiga.applications
  227. Path: sunb10.cs.uiuc.edu!hew2.cs.uiuc.edu!rittle
  228. From: rittle@hew2.cs.uiuc.edu (Loren Rittle)
  229. Subject: Re: Does a spelling checker have to be included in an Amiga WP?
  230. Message-ID: <1992Mar23.233211.14608@sunb10.cs.uiuc.edu>
  231. Sender: news@sunb10.cs.uiuc.edu
  232. Organization: University of Illinois at Urbana-Champaign
  233. References: <1992Mar23.103237.9253@sunb10.cs.uiuc.edu> <pat_meloy.06i1@outbound.wimsey.bc.ca>
  234. Date: Mon, 23 Mar 1992 23:32:11 GMT
  235. Lines: 27
  236.  
  237. pat_meloy@outbound.wimsey.bc.ca (Pat Meloy) writes:
  238. > The one problem with ISpell is that it takes up ~800k of ram to run in
  239. >server mode. I used it to add a spell check/replace in the BBS I used to
  240. >run. It worked great and it ran lickety-split! Unfortunately, most Amiga
  241. >owners are limited to a total of 512k or 1meg ram and thus it has to be run
  242. >from disk. This means no arexx port and only marginal benefits.
  243.  
  244. Pat,
  245.  
  246.   There is no reason why another spelling checker couldn't use the exact
  247. same ARexx interface as ISpell, but yet use a disk based dictionary.  This
  248. is what I'm advocating (maybe I should move over to c.s.a.advocacy, NOT).
  249. You will note that I released the ARexx interface that I implemented in
  250. ispell for free and commercial use (at either end - people can implement
  251. backend servers that use the same interface as ISpell uses and people
  252. can implement clients and ARexx macros that use the same interface that
  253. ISpell based macros use).
  254.  
  255.   I could write a dumb disk based dictionary spelling checker IN ARexx that
  256. uses the same ARexx interface as ISpell in less than one half week's worth
  257. of time.  If that is what it takes to prove to you that this is a good idea,
  258. then I'll do it.  ISpell is ported from UNIX, the algorithms contained
  259. within assume memory to burn and the performance shows.  The dumb disk
  260. based spelling checker will be a lot slower, but will prove my point.
  261.  
  262. Regards,
  263. Loren
  264.  
  265.